{"version":3,"file":"script.map.js","names":["paramsWebHook","BX","namespace","rest","integration","edit","InitHint","this","items","prototype","init","getItems","querySelectorAll","i","length","item","id","container","text","getAttribute","push","loadData","addItem","options","InitHintItem","hint","popup","addEvents","bind","getPopup","show","close","PopupWindow","className","darkMode","maxWidth","angle","content","offsetLeft","offsetTop","bindOptions","position","animationOptions","type","ParamFieldsControl","target","section","code","removeItem","splice","indexOf","appendItem","ParamFieldsControlItem","paramControl","getItemById","value","appendChild","render","getContainer","create","props","cleanNode","title","layout","titleValue","titleEdit","inputWrapper","input","remove","editMode","window","ev","setEditMode","parent","closest","resetEditMode","titleInput","returnTitle","updateTitle","getTitle","events","click","focus","name","keydown","getInput","blur","makeCurlString","getRemove","firstItem","style","height","offsetHeight","addClass","setTimeout","paddingTop","marginBottom","parentNode","removeChild","removeClass","innerText","newItem","children","InitTabs","InitTabsItem","replace","openTab","wrapper","checkbox","open","initTitle","initWrapper","initContainer","initCheckbox","setAutoHeight","classList","add","unbind","unbindAll","checked","reqInputList","forEach","required","closeTab","urlDom","querySelector","scrollToItem","node","safari","body","document","html","documentElement","scrollY","pageYOffset","interval","setInterval","Math","max","scrollHeight","clientHeight","scrollTo","scrollTop","clearInterval","top","pos","behavior","setMethodLink","webhookUrl","selectMethod","inputUri","paramsString","key","hasOwnProperty","dataset","adjust","href","restIntegrationEditComponent","uriToMethodInfo","inputApiOnlyChange","inputLangList","hide","appMode","fireEvent","initParams","savedDo","tabs","hints","delegate","actionSaveForm","btnDownloadList","openPostUri","j","openUri","actionCurlQuery","actionDropdown","changeAppType","actionSaveBtnClick","actionSaveRegenBtnClick","loadFileApplication","addCustomEvent","onCloseSlider","queryProps","CODE","getElementById","ITEMS","TITLE","val","random","event","slider","getSlider","needConfirmCloseSliderWithDelete","data","NEW_OPEN","popupWindow","PopupWindowManager","message","titleBar","width","padding","closeByEsc","contentColor","buttons","PopupWindowButton","ajax","runComponentAction","mode","signedParameters","signetParameters","analyticsLabel","integrationCode","then","response","denyAction","files","textContent","UI","Notification","Center","notify","noReqInputList","clearInputList","modeServer","modeZip","appOnlyApi","inputFileLabel","selector","active","hasClass","findChild","tag","pathIframe","analytic","SidePanel","Instance","requestMethod","requestParams","query","sessid","bitrix_sessid","allowChangeHistory","cacheable","submit","Dialogs","MessageBox","popupOptions","closeIcon","modal","bindElement","Button","color","Color","PRIMARY","state","State","ACTIVE","onclick","btn","context","CancelButton","getContext","preventDefault","form","sessId","setAttribute","appZipMode","inputZip","errorDom","display","inputsUrl","urlData","c","action","url","prepareData","submitAjax","method","processData","onsuccess","parseJSON","status","getTopSlider","reload","helperCode","InfoHelper","errors","error","ready","append","scrollToNode"],"sources":["script.js"],"mappings":"CAAC,WAEA,IAAIA,EAAgB,GACpBC,GAAGC,UAAU,uBACb,GAAID,GAAGE,KAAKC,YAAYC,KACxB,CACC,MACD,CACAJ,GAAGE,KAAKC,YAAYC,KAAO,CAAC,EAG5B,SAASC,IAERC,KAAKC,MAAQ,IACd,CAEAF,EAASG,UACR,CACCC,KAAM,WAELH,KAAKI,UACN,EAEAA,SAAU,WAET,GAAIJ,KAAKC,MACT,CACC,OAAOD,KAAKC,KACb,CAEA,IAAIA,EAAQP,GAAG,yBAAyBW,iBAAiB,kCACzDL,KAAKC,MAAQ,GAEb,IAAK,IAAIK,EAAI,EAAGA,EAAIL,EAAMM,OAAQD,IAClC,CACC,IAAIE,EAAO,CAAC,EAEZA,EAAKC,GAAKH,EACVE,EAAKE,UAAYT,EAAMK,GACvBE,EAAKG,KAAOV,EAAMK,GAAGM,aAAa,8BAElCZ,KAAKC,MAAMY,KAAKL,EACjB,CAEAR,KAAKc,WAEL,OAAOd,KAAKC,KACb,EAEAa,SAAU,WAET,IAAK,IAAIR,EAAI,EAAGA,EAAIN,KAAKC,MAAMM,OAAQD,IACvC,CACCN,KAAKe,QAAQf,KAAKC,MAAMK,GACzB,CACD,EAEAS,QAAS,SAAUC,GAElB,IAAIR,EAAO,IAAIS,EAAaD,GAC5BR,EAAKU,KAAO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